package com.ruoyi.project.training.mapper;

import com.ruoyi.project.training.domain.Training;
import com.ruoyi.project.training.domain.TrainingCourse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TrainingMapper {
    public List<Training> selectTrainList(Training training);

    public List<String> selectCourseIdById(Integer id);

    public List<TrainingCourse> selectCourseByCode(int code);

    public Training selectTrainingById(Integer id);
}
